home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Very Best of Atari Inside
/
The Very Best of Atari Inside 1.iso
/
mint
/
mintmant
/
finstat.txt
< prev
next >
Wrap
Text File
|
1992-03-24
|
791b
|
64 lines
Finstat(2) Oct. 1, 1991 Finstat(2)
NAME
Finstat - determine input status for a file
SYNOPSIS
LONG Finstat( WORD fh );
DESCRIPTION
Finstat returns the number of bytes of input waiting on the
file whose GEMDOS handle is fh, or 0 if no input is avail-
able on that handle.
RETURNS
0 or a positive number if successful
EIHNDL if fh is not a valid handle for an open file.
SEE ALSO
Cauxis(2), Cconis(2), Fcntl(2), Foutstat(2)
BUGS
Always returns 1 for disk files.
Doesn't check to see if the indicated file was opened for
reading.
Version 0.9 Last change: MiNT Programmer's Manual 1